<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8">

        <meta http-equiv="X-UA-Compatible"  content="IE=edge" >
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maxinum-scale=2.0,mininum-scale=0.5,target-densitydpi=device-dpi">
        <meta name="renderer" content="webkit">
        <meta name="author"  content="王名杰">
        <meta name="description" content="五邑大学威客平台">
        <meta name="keywords" content="五邑大学威客平台"> 

        <script src="/js/jquery-1.11.1.min.js"></script>
        <script src="/js/bootstrap.min.js"></script>
        <script src="/js/functions.js"></script>
        
        <link href="/css/bootstrap.min.css"  rel="stylesheet">

        <style>
            #logo,#search,#nav {

                margin-top:6px;
                margin-bottom:6px;
            }
            header{
                padding:10px 0;
            }
        </style>
        <title>五邑大学-allwini</title>
    </head>
    <body>
        <header class="container" >
            <div class="row  header">	
                <div  id="logo" class="col-sm-2 col-xs-12">
                    <a href ="{$Think.config.INDEX}"><img src="/images/logo.png" alt="logo"/></a>
                </div>
                <div  id="search" class="col-sm-4  col-sm-offset-1  col-xs-12">
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="搜索" id="h_keyword">
                        <span class="input-group-addon btn btn-default">
                            <span class=" glyphicon glyphicon-search" id="h_s"></span>
                        </span>
                    </div>
                    <script>
                        $('#h_s').click(h_search);
                    </script>
                </div>  
                <div  id="nav" class="col-sm-5 col-sm-offset-0  col-xs-12">
                    <ul class="nav nav-pills" role="tablist">
                        <li role="presentation" ><a href="{$Think.config.ISSUEREQUIRE}">发布</a></li>
                        <li role="presentation" ><a href="{$Think.config.ALLNEWS}">公告</a></li>
                        <?php
                        if (cookie('a') == null) {
                           echo  C('BEFORLOGINHEADER');
                        }
                        else{
                            echo C('AFTERLOGINHEADER');
                        }
                        ?>
                    </ul>
                </div>
        </header>
        <div  id="content"  class="container well well-lg">
            <div class="row ">
